package com.frogs.ucenter.service.daoimpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.InsuranceInfoDao;
import com.frogs.ucenter.entity.InsuranceInfo;
import com.frogs.ucenter.service.InsuranceInfoService;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("insuranceInfoService")
public class InsuranceInfoServiceImpl extends BaseServiceImpl<InsuranceInfo> implements InsuranceInfoService {
	
	@Autowired
    private InsuranceInfoDao insuranceInfoDao;

    public InsuranceInfoServiceImpl() {
        super();
    }

    public InsuranceInfoDao getInsuranceInfoDao() {
        return insuranceInfoDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<InsuranceInfo> getBaseDao() {
        return insuranceInfoDao;
    }

    public void setInsuranceInfoDao(InsuranceInfoDao insuranceInfoDao) {
        this.insuranceInfoDao = insuranceInfoDao;
    }

}
